import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class SupChatGptDto {
  @ApiProperty({ description: '内容', example: '什么是ChatGPT?' })
  @IsNotEmpty({ message: '内容不能为空' })
  prompt: string;
}
